.el-input {
    position: relative;
    display: inline-block;
    width: 360px;
    vertical-align: top;

    .el-input__inner {
        -webkit-appearance: none;
        background-color: $white;
        background-image: none;
        display: inline-block;
        outline: none;
        padding: 0 10px;
        transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
        width: 100%;
        line-height: 36px;
        height: 36px;
        font-size: 12px;
        color: #1c2438;
        border: 1px solid #dddee1;
        @include border-radius(4px);
        vertical-align: top;
    }

    .el-input__suffix {
        position: absolute;
        height: 100%;
        right: 10px;
        top: 0;
        text-align: center;
        transition: all 0.3s;
        pointer-events: none;
    }

    .el-input__suffix-inner {
        pointer-events: all;
    }

    .el-input__count {
        height: 100%;
        display: inline-flex;
        align-items: center;
        color: #80848f;
        font-size: 12px;

        .el-input__count-inner {
            line-height: normal;
            display: inline-block;
        }
    }

    &.el-input--suffix {
        .el-input__inner {
            padding-right: 30px;
        }
    }
    
    &:hover,
    &.is-focus {
        .el-input__inner {
            border: 1px solid #2b74ff;
        }
    }

    &.is-focus {
        .el-input__inner {
            @include box-shadow(0 0 0 2px rgba(43, 116, 255, 0.15));
        }
    }
}

.el-textarea {
    position: relative;
    display: inline-block;
    width: 360px;
    vertical-align: top;

    .el-textarea__inner {
        display: block;
        resize: vertical;
        padding: 6px 10px;
        line-height: 20px;
        width: 100%;
        font-size: 12px;
        color: #1c2438;
        background-color: #fff;
        background-image: none;
        border: 1px solid #dcdfe6;
        border-radius: 4px;
        transition: border-color 0.2s cubic-bezier(0.645, 0.045, 0.355, 1);
        outline: 0;
        vertical-align: top;
    }
    .el-input__count {
        color: #80848f;
        position: absolute;
        font-size: 12px;
        bottom: 11px;
        right: 10px;
        line-height: 1;
    }
}
